home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
utilities
/
amb player.amos
/
amb player.amosSourceCode
next >
Wrap
AMOS Source Code
|
1991-03-14
|
4KB
|
176 lines
'
' Amb Play v2.0
'
' The Amos Music Banks Collection - THE BEST music for use
' in your AMOS programs.
'
' Ripped from the hearts of the finest demos available by Gaz......
'
' If you want a piece of sound/noise tracker music ripping from
'
' a demo, send it to me and I'll have a go at it for you.
'
'
'
' GARY SHILVOCK
' 118, Uplands Avenue
' Rowley Regis,
' Warley
' West Mids.B65 9PX
'
'The equalizer,by the way, is a modified version of pete hickmans...
'converted to 8 channels by me.
Hide
Global NAME$
Screen Open 0,352,100,2,Lowres : Curs Off : Cls 0 :
Double Buffer
Screen Display 0,112,265,,
Led Off
Amreg(0)=12
A$=" Begin: Let R0=V(0) ; If R0=0 Jump Begin ;"
A$=A$+"Move 0,0-R0,RA/2 ; Move 0,R0,RA/2 ; Jump Begin ; "
B$=" Begin: Let R0=V(1) ; If R0=0 Jump Begin ;"
B$=B$+"Move 0,0-R0,RA/2 ; Move 0,R0,RA/2 ; Jump Begin ; "
C$=" Begin: Let R0=V(2) ; If R0=0 Jump Begin ;"
C$=C$+"Move 0,0-R0,RA/2 ; Move 0,R0,RA/2 ; Jump Begin ; "
D$=" Begin: Let R0=V(3) ; If R0=0 Jump Begin ;"
D$=D$+"Move 0,0-R0,RA/2 ; Move 0,R0,RA/2 ; Jump Begin ; "
For A=1 To 8
Bob A,(A*49)-49,40,1
Next
For LOP=1 To 8
Channel LOP To Bob LOP
Next LOP
Amal 1,A$ : Amal 2,B$ : Amal 3,C$ : Amal 4,D$
Amal 5,A$ : Amal 6,B$ : Amal 7,C$ : Amal 8,D$
Set Rainbow 0,1,64,"","",""
Restore HUES
For A=0 To 47 Step 2
Read SHADE
Rain(0,A)=SHADE
Rain(0,A+1)=SHADE
Next
Rainbow 0,0,264,48
HUES:
Data $F00,$F10,$F20,$F30,$F40,$F50,$F60,$F70,$F80,$F90,$FA0,$FB0,$FC0,$FD0,$FE0,$FF0
Data $FF1,$FF2,$FF3,$FF4,$FF5,$FF6,$FF7,$FF8,$FF9,$FFA,$FFB,$FFC,$FFD,$FFE,$FFF
Set Rainbow 1,1,220,"","",""
OFFSET=0 : HUE=0
For A=15 To 30
Rain(1,A)=HUE : HUE=HUE+$110
Next
For A=31 To 175
Rain(1,A)=$FF0
Next
HUE=$FF0
For A=175 To 199
Rain(1,A)=HUE : HUE=HUE-$110
Next
Screen Open 1,320,200,2,0 : Curs Off : Cls 0
Screen Display 1,132,,,180
Rainbow 1,1,40,220
Amal On
Palette $0,$FFF
Def Scroll 1,0,0 To 320,20,-1,-9
Def Scroll 2,0,20 To 320,40,-1,-8
Def Scroll 3,0,40 To 320,60,1,-7
Def Scroll 4,0,60 To 320,80,-1,-6
Def Scroll 5,0,80 To 320,100,1,-5
Def Scroll 6,0,100 To 320,120,0,-4
Def Scroll 7,0,120 To 320,140,0,-3
Def Scroll 8,0,140 To 320,160,0,-2
Def Scroll 9,0,160 To 320,180,0,-2
Def Scroll 10,0,180 To 320,200,0,-1
Autoback 0 : Bob Update Off : Synchro Off
Restore TXT
Do
MUS
Repeat
Read TXT$
TXT$=Upper$(TXT$)
If TXT$="TUNE NAME"
TXT$=NAME$
End If
If TXT$="END OF DATA"
Restore TXT
Read TXT$
TXT$=Upper$(TXT$)
End If
Locate 0,24 : Centre TXT$
For A=0 To 8
Wait Vbl
For B=1 To 10
Scroll B
Next
Wait Vbl : Synchro : Update
Next
Until Mouse Click
Loop
Procedure MUS
Show
Change Mouse 2
Rainbow 1,0,0,0
NAME$=Fsel$("","","Select Music Bank To Load")
If NAME$<>""
Load NAME$
Music 1
End If
Hide
Rainbow 1,1,40,220
End Proc
TXT:
Data "Amb Disk V"
Data " "
Data "Now Playing"
Data "tune name"
Data " "
Data "Mini Player"
Data "Written By"
Data "G.Shilvock"
Data " "
Data "Many Thanks"
Data "to all the people"
Data "& groups whose"
Data "music appears"
Data "on these disks."
Data " "
Data " "
Data " "
Data " "
Data "If you have a demo you"
Data "want the music from"
Data "but can't access the music"
Data "send it to me, and i'll"
Data "have a go,"
Data "(providing its sound/noisetracker)"
Data " "
Data " "
Data "Greetings To"
Data " "
Data " "
Data "Matt (Lemming Fiend) "
Data "Steve Bennett"
Data "Sandra"
Data "mark cox"
Data "Arc angel"
Data "spadge"
Data "sentinel"
Data "wierd science"
Data "gary fearn"
Data "Len Tucker"
Data "Gareth Lancaster"
Data "nadeem"
Data "curos + stavros"
Data "syntex"
Data "peter hickman"
Data "francois"
Data "aaron "
Data " "
Data " "
Data " "
Data " "
Data " "
Data " "
Data " "
Data " "
Data "end of data"